From: Carlos Garnacho Date: Thu, 6 Feb 2020 13:21:14 +0000 (+0100) Subject: magnifier: Make magnification factor changes animatable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~777^2^2~153 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e16def0c43f0571e4895f5d35ecb1d8af1f06c33;p=gnome-shell.git magnifier: Make magnification factor changes animatable So we can seamlessly change between them through eg. keybindings. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/984 --- diff --git a/js/ui/magnifier.js b/js/ui/magnifier.js index 2cb398455..844a1506c 100644 --- a/js/ui/magnifier.js +++ b/js/ui/magnifier.js @@ -875,7 +875,8 @@ var ZoomRegion = class ZoomRegion { setMagFactor(xMagFactor, yMagFactor) { this._changeROI({ xMagFactor, yMagFactor, - redoCursorTracking: this._followingCursor }); + redoCursorTracking: this._followingCursor, + animate: true }); } /**